package  com.jy.adscm.wechat.service;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.bean.Role;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.wechat.bean.WechatRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-09-24
 */
public interface WechatUserRoleService extends IService<com.jy.adscm.wechat.bean.WechatUserRole> {


    List<WechatRole> selectByOpenId(String openid)throws AdscmSystemException;

    Boolean isJzUser(String openid) throws AdscmSystemException;
    Boolean  userHasRole(String userId, String RoleId);
}
